home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 61 / Quick PC 61.iso / I386 / DRIVER.CAB / hplj50p6.gpd < prev    next >
Encoding:
Text File  |  2003-02-21  |  57.5 KB  |  1,916 lines

  1. *%%
  2. *%% HP LaserJet 5000 Series PCL
  3. *%%
  4. *%% Copyright 1998 - 1999, Microsoft Corp.
  5. *%% All Rights Reserved.
  6. *%%
  7.  
  8. *%%
  9. *%% Global Entries
  10. *%%
  11. *GPDSpecVersion: "1.0"
  12. *GPDFileVersion: "1.0"
  13.  
  14. *%%% ======================
  15. *%%% Include standard GPD files
  16. *%%% =====================
  17. *Include: "StdNames.gpd"
  18. *Include: "ttfsub.gpd"
  19.  
  20.  
  21. *%%
  22. *%% Model Specific Global Entries
  23. *%%
  24. *GPDFileName: "HPLJ50P6.GPD"
  25. *ModelName: "HP LaserJet 5000 Series PCL6"
  26. *MaxCopies: 999
  27. *PrintRate: 17
  28. *PrintRatePPM: 17
  29. *PrintRateUnit: PPM
  30. *MasterUnits: PAIR(1200, 1200)
  31. *CodePage: 1252
  32. *ResourceDLL: "pclxl.dll"
  33. *PrinterType: PAGE
  34. *Personality: =PERSONALITY_PCLXL
  35. *%%%rcPersonalityID: =PERSONALITY_PCLXL_DISPLAY
  36. *%%% *rcPrinterIconID:
  37. *%%% *HelpFile:
  38.  
  39.  
  40. *%%% ======================
  41. *%%% Macros
  42. *%%% ======================
  43. *Include: "pjl.gpd"
  44. *Include: "p6font.gpd"
  45. *Include: "p6disp.gpd"
  46.  
  47. *%%% ======================
  48. *%%% Main
  49. *%%% ======================
  50. *Include: "pclxl.gpd"
  51.  
  52. *%%% ======================
  53. *%%% DOC_SETUP, PAGE_FINISH
  54. *%%% , JOB_FINISH
  55. *%%% ======================
  56.  
  57. *Macros: PCLXLCommand
  58. {
  59. *%%% ---------------------------------------------------------------------------
  60. *%%% PCL XL Stream Header
  61. *%%% ---------------------------------------------------------------------------
  62. PCLXL_StreamHeader: ") HP-PCL XL;2;0;"
  63. +                   "Comment Copyright(c) 1999 Microsoft Corporation<0A>"
  64.  
  65. PCLXL_OpenDataSource: =ubyte "<00>" =attr_ubyte =SourceType =ubyte "<01>" =attr_ubyte =DataOrg =OpenDataSource
  66.  
  67. *%%% ---------------------------------------------------------------------------
  68. *%%% BeginSession
  69. *%%%     Measure(ubyte) & UnitsPerMeasure(uint16_xy) & {ErrorReport(ubyte)}
  70. *%%% ---------------------------------------------------------------------------
  71. PCLXL_BeginSession1200: =uint16_xy "<b004b004>" =attr_ubyte =UnitsPerMeasure =ubyte
  72. + =eInch =attr_ubyte =Measure =ubyte =eBackChAndErrPage =attr_ubyte =ErrorReport =BeginSession
  73.  
  74. PCLXL_BeginSession600: =uint16_xy "<58025802>" =attr_ubyte =UnitsPerMeasure =ubyte
  75. + =eInch =attr_ubyte =Measure =ubyte =eBackChAndErrPage =attr_ubyte =ErrorReport =BeginSession
  76.  
  77. PCLXL_BeginSession300: =uint16_xy "<2c012c01>" =attr_ubyte =UnitsPerMeasure =ubyte
  78. + =eInch =attr_ubyte =Measure =ubyte =eBackChAndErrPage =attr_ubyte =ErrorReport =BeginSession
  79.  
  80. Width: %m{ RasterDataWidthInBytes }
  81. Height: %m{ RasterDataHeightInPixels }
  82. DataSize: %l{ NumOfDataBytes }
  83. FntHeight: %l{ FontHeight*600/TextYRes }
  84. FntNextGlyph: %l{ NextGlyph }
  85.  
  86. *%%% ---------------------------------------------------------------------------
  87. *%%% BeginRaster
  88. *%%%     ColorDepth(ubyte) & ColorMapping(ubyte) & SourceWidth(uint16) &
  89. *%%%     SourceWidth(uint16) & SourceHeight(uint16)
  90. *%%% ---------------------------------------------------------------------------
  91. PCLXL_CmdBeginRaster: =ubyte =e1Bit =attr_ubyte =ColorDepth
  92. +                     =ubyte =eDirectPixel =attr_ubyte =ColorMapping
  93. +                     =uint16 =Width =attr_ubyte =SourceWidth
  94. +                     =uint16 =Height =attr_ubyte =SourceHeight
  95. +                     =uint16_xy =Width =Height =attr_ubyte =DestinationSize
  96. +                     =BeginImage
  97. +                     =ubyte =eNoCompression =attr_ubyte =CompressMode
  98. +                     =ubyte "<00>" =attr_ubyte =StartLine
  99. +                     =uint16 =Height =attr_ubyte =BlockHeight
  100. +                     =ReadImage
  101.  
  102. PCLXL_CmdSendBlockData: =dataLength =DataSize "<0000>"
  103.  
  104. DestinationX: %l{DestX}
  105. DestinationY: %l{DestY}
  106. DestinationXRel: %l{DestYRel}
  107. DestinationYRel: %l{DestXRel}
  108. NumOfCopy: %l{NumOfCopies}
  109. PrintDir: %l{PrintDirInCCDegrees}
  110. FntName: =ubyte_array =uint16 "<1000>" "MS PCLXLFont " %3d{CurrentFontID}
  111. }
  112.  
  113. *%%% ======================
  114. *%%% Features and Options
  115. *%%% ======================
  116.  
  117. *%% Orientation
  118. *Feature: Orientation
  119. {
  120.     *rcNameID: =ORIENTATION_DISPLAY
  121.     *DefaultOption: PORTRAIT
  122.     *Option: PORTRAIT
  123.     {
  124.         *rcNameID: =PORTRAIT_DISPLAY
  125.     }
  126.     *Option: LANDSCAPE_CC90
  127.     {
  128.         *rcNameID: =LANDSCAPE_DISPLAY
  129.     }
  130. }
  131.  
  132. *Command: CmdStartJob
  133. {
  134.     *Order: JOB_SETUP.1
  135.     *Cmd: =PJL_STARTJOB =PJL_COMMENT 
  136. }
  137.  
  138. *%%% ======================
  139. *%%% DOC_SETUP
  140. *%%% ======================
  141.  
  142. *%%% ======================
  143. *%%% DOC_SETUP.1
  144. *%%% START PLJ JOB
  145. *%%% PAGEPROTECT
  146. *%%% TIMEOUT
  147. *Feature: PageProtect
  148. {
  149.     *rcNameID: =PAGE_PROTECTION_DISPLAY
  150.     *DefaultOption: OFF
  151.     *Option: ON
  152.     {
  153.         *rcNameID: =ON_DISPLAY
  154.         *Command: CmdSelect
  155.         {
  156.             *Order: JOB_SETUP.2
  157.             *Cmd: =PJL_PAGEPROTECT_ON =PJL_TIMEOUT_90
  158.         }
  159.     }
  160.     *Option: OFF
  161.     {
  162.         *rcNameID: =OFF_DISPLAY
  163.         *Command: CmdSelect
  164.         {
  165.             *Order: JOB_SETUP.2
  166.             *Cmd: =PJL_PAGEPROTECT_ON =PJL_TIMEOUT_90
  167.         }
  168.     }
  169. }
  170. *%%% ======================
  171. *%%% DOC_SETUP.2
  172. *%%% ECONOMODE
  173. *Feature: Economode
  174. {
  175.     *rcNameID: =ECONOMODE_DISPLAY
  176.     *DefaultOption: Option1
  177.     *Option: Option1
  178.     {
  179.         *rcNameID: =ECONOMODE_DEFAULT_DISPLAY
  180.     }
  181.     *Option: Option2
  182.     {
  183.         *rcNameID: =ECONOMODE_OFF_DISPLAY
  184.         *Command: CmdSelect
  185.         {
  186.             *Order: JOB_SETUP.3
  187.             *Cmd: =PJL_ECONOMODE_OFF
  188.         }
  189.     }
  190.     *Option: Option3
  191.     {
  192.         *rcNameID: =ECONOMODE_ON_DISPLAY
  193.         *Command: CmdSelect
  194.         {
  195.             *Order: JOB_SETUP.3
  196.             *Cmd: =PJL_ECONOMODE_ON
  197.         }
  198.     }
  199. }
  200.  
  201. *%%% ======================
  202. *%%% DOC_SETUP.3
  203. *%%% RET
  204. *Feature: RET
  205. {
  206.     *rcNameID: =PRINT_QUALITY
  207.     *DefaultOption: Option1
  208.     *Option: Option1
  209.     {
  210.         *rcNameID: =PRINT_QUALITY_DEFAULT
  211.     }
  212.     *Option: Option2
  213.     {
  214.         *rcNameID: =PRINT_QUALITY_LIGHT
  215.         *Command: CmdSelect
  216.         {
  217.             *Order: JOB_SETUP.4
  218.             *Cmd: =PJL_RET_LIGHT
  219.         }
  220.     }
  221.     *Option: Option3
  222.     {
  223.         *rcNameID: =PRINT_QUALITY_MEDIUM
  224.         *Command: CmdSelect
  225.         {
  226.             *Order: JOB_SETUP.4
  227.             *Cmd: =PJL_RET_MEDIUM
  228.         }
  229.     }
  230.     *Option: Option4
  231.     {
  232.         *rcNameID: =PRINT_QUALITY_DARK
  233.         *Command: CmdSelect
  234.         {
  235.             *Order: JOB_SETUP.4
  236.             *Cmd: =PJL_RET_DARK
  237.         }
  238.     }
  239.     *Option: Option5
  240.     {
  241.         *rcNameID: =PRINT_QUALITY_OFF
  242.         *Command: CmdSelect
  243.         {
  244.             *Order: JOB_SETUP.4
  245.             *Cmd: =PJL_RET_OFF
  246.         }
  247.     }
  248. }
  249.  
  250. *%%% ======================
  251. *%%% DOC_SETUP.4
  252. *%%% Collate
  253. *Feature: Collate
  254. {
  255.     *rcNameID: =COLLATE
  256.  
  257.     *DefaultOption: OFF
  258.     *Option: ON
  259.     {
  260.         *rcNameID: =ON_DISPLAY
  261.         *switch: PrinterHardDisk
  262.         {
  263.             *case: FALSE
  264.             {
  265.                 *Command: CmdSelect
  266.                 {
  267.                     *Order: JOB_SETUP.5
  268.                     *Cmd: =PJL_COLLATE_OFF
  269.                 }
  270.             }
  271.             *case: TRUE
  272.             {
  273.                 *Command: CmdSelect
  274.                 {
  275.                     *Order: JOB_SETUP.5
  276.                     *Cmd: =PJL_COLLATE_ON
  277.                 }
  278.             }
  279.         }
  280.     }
  281.     *Option: OFF
  282.     {
  283.         *rcNameID:=OFF_DISPLAY
  284.         *Command: CmdSelect
  285.         {
  286.             *Order: JOB_SETUP.5
  287.             *Cmd: =PJL_COLLATE_OFF
  288.         }
  289.     }
  290. }
  291.  
  292. *%%% ======================
  293. *%%% DOC_SETUP.5
  294. *%%%     RESOLUTION
  295. *%%%     ENTER LANGUAGE=PCLXL
  296. *%%%     PCL XL Stream Header
  297. *%%%     BeginSession
  298. *%%% CmdEndRaster
  299. *%%%     EndImage
  300. *%%% CmdSendBlockData
  301. *%%%     EndImage
  302. *Feature: Resolution
  303. {
  304.     *rcNameID: =RESOLUTION_DISPLAY
  305.     *DefaultOption: Option1
  306.     *Option: Option1
  307.     {
  308.         *Name: "1200 x 1200 " =DOTS_PER_INCH
  309.         *DPI: PAIR(1200, 1200)
  310.         *TextDPI: PAIR(1200, 1200)
  311.         *MinStripBlankPixels: 32
  312.         EXTERN_GLOBAL: *StripBlanks: LIST(LEADING, ENCLOSED,TRAILING)
  313.         *SpotDiameter: 120
  314.         *Command: CmdBeginRaster
  315.         {
  316.             *Cmd : =PCLXL_CmdBeginRaster
  317.         }
  318.  
  319.         *Command: CmdSendBlockData
  320.         {
  321.             *Cmd : =PCLXL_CmdBeginRaster =PCLXL_CmdSendBlockData
  322.         }
  323.  
  324.         *% EndImage(0xb2)
  325.         *%
  326.         *Command: CmdEndBlockData { *Cmd : =EndImage}
  327.  
  328.         *Command: CmdSelect
  329.         {
  330.             *Order: JOB_SETUP.7
  331.             *Cmd: =PJL_RESOLUTION_1200 =PJL_ENTER_PCLXL =PCLXL_StreamHeader =PCLXL_BeginSession1200 =PCLXL_OpenDataSource
  332.         }
  333.     }
  334.     *Option: Option2
  335.     {
  336.         *Name: "600 x 600 " =DOTS_PER_INCH
  337.         *DPI: PAIR(600, 600)
  338.         *TextDPI: PAIR(600, 600)
  339.         *MinStripBlankPixels: 32
  340.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  341.         *SpotDiameter: 100
  342.         *Command: CmdBeginRaster
  343.         {
  344.             *Cmd : =PCLXL_CmdBeginRaster
  345.         }
  346.  
  347.         *Command: CmdEndRaster { *Cmd : =EndImage }
  348.         *Command: CmdSendBlockData
  349.         {
  350.             *Cmd: =PCLXL_CmdSendBlockData
  351.         }
  352.  
  353.         *Command: CmdSelect
  354.         {
  355.             *Order: JOB_SETUP.7
  356.             *Cmd: =PJL_RESOLUTION_600 =PJL_BITSPERPIXEL_2 =PJL_ENTER_PCLXL =PCLXL_StreamHeader =PCLXL_BeginSession600 =PCLXL_OpenDataSource
  357.         }
  358.     }
  359.     *Option: Option3
  360.     {
  361.         *Name: "300 x 300 " =DOTS_PER_INCH
  362.         *DPI: PAIR(300, 300)
  363.         *TextDPI: PAIR(300, 300)
  364.         *MinStripBlankPixels: 32
  365.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  366.         *SpotDiameter: 100
  367.         *Command: CmdBeginRaster
  368.         {
  369.             *Cmd : =PCLXL_CmdBeginRaster
  370.         }
  371.  
  372.         *Command: CmdEndRaster { *Cmd : =EndImage }
  373.         *Command: CmdSendBlockData
  374.         {
  375.             *Cmd: =PCLXL_CmdSendBlockData
  376.         }
  377.  
  378.         *Command: CmdSelect
  379.         {
  380.             *Order: JOB_SETUP.7
  381.             *Cmd: =PJL_RESOLUTION_300 =PJL_BITSPERPIXEL_2 =PJL_ENTER_PCLXL =PCLXL_StreamHeader =PCLXL_BeginSession300 =PCLXL_OpenDataSource
  382.         }
  383.     }
  384. }
  385.  
  386. *%%% ======================
  387. *%%% PAGE_FINISH
  388. *%%% ======================
  389.  
  390. *%%% ======================
  391. *%%% PAGE_FINISH.3
  392. *Command: CmdEndPage
  393. {
  394.     *Order: PAGE_FINISH.1
  395.     *Cmd: =uint16 =NumOfCopy =attr_ubyte =PageCopies =EndPage
  396. }
  397.  
  398. *%%% ======================
  399. *%%% JOB_FINISH.1
  400. *%%% CmdEndJob
  401. *Command: CmdEndJob
  402. {
  403.     *Order: JOB_FINISH.1
  404.     *Cmd: =CloseDataSource =EndSession =PJL_ENDJOB
  405. }
  406.  
  407. *%%% ======================
  408. *%%% PAGE_SETUP
  409. *%%% ======================
  410.  
  411. *%%% ======================
  412. *%%% PAGE_SETUP.3
  413. *%%% BeginPage(0x43)
  414. *%%%     Orientation(40), MediaSize(37), MediaSource(38)
  415. *%%%     ubyte            ubyte          ubyte
  416.  
  417. *BlockMacro: PaperConstraints
  418. {
  419.     *Constraints: LIST(InputBin.Option3, InputBin.Option4, InputBin.Option5)
  420. }
  421.  
  422. *Feature: PaperSize
  423. {
  424.     *rcNameID: =PAPER_SIZE_DISPLAY
  425.     *DefaultOption: LETTER
  426.     *Option: LETTER
  427.     {
  428.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *% rcid 1000
  429.         *Constraints: InputBin.Option6
  430.         *PageProtectMem: 4109
  431.         *switch: Orientation
  432.         {
  433.             *case: PORTRAIT
  434.             {
  435.                 *PrintableArea: PAIR(9600, 12780)
  436.                 *PrintableOrigin: PAIR(300, 140)
  437.                 *CursorOrigin: PAIR(300, 140)
  438.                 *Command: CmdSelect
  439.                 {
  440.                     *Order: PAGE_SETUP.4
  441.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  442. +                         =ubyte_array =sLetterPaper =attr_ubyte =MediaSize =BeginPage
  443. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  444.  
  445.                 }
  446.             }
  447.             *case: LANDSCAPE_CC90
  448.             {
  449.                 *PrintableArea: PAIR(9760, 12720)
  450.                 *PrintableOrigin: PAIR(200, 240)
  451.                 *CursorOrigin: PAIR(200, 12960)
  452.                 *Command: CmdSelect
  453.                 {
  454.                     *Order: PAGE_SETUP.4
  455.                     *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  456. +                         =ubyte_array =sLetterPaper =attr_ubyte =MediaSize =BeginPage
  457. +                         =sint16_xy %l{((240*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  458.  
  459.                 }
  460.             }
  461.         }
  462.     }
  463.     *Option: LEGAL
  464.     {
  465.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  466.         *Constraints: InputBin.Option6
  467.         *PageProtectMem: 5230
  468.         *switch: Orientation
  469.         {
  470.             *case: PORTRAIT
  471.             {
  472.                 *PrintableArea: PAIR(9600, 16380)
  473.                 *PrintableOrigin: PAIR(300, 140)
  474.                 *CursorOrigin: PAIR(300, 140)
  475.                 *Command: CmdSelect
  476.                 {
  477.                     *Order: PAGE_SETUP.4
  478.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  479. +                         =ubyte_array =sLegalPaper =attr_ubyte =MediaSize =BeginPage
  480. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  481.  
  482.                 }
  483.             }
  484.             *case: LANDSCAPE_CC90
  485.             {
  486.                 *PrintableArea: PAIR(9760, 16260)
  487.                 *PrintableOrigin: PAIR(200, 240)
  488.                 *CursorOrigin: PAIR(200, 16560)
  489.                 *Command: CmdSelect
  490.                 {
  491.                     *Order: PAGE_SETUP.4
  492.                     *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  493. +                         =ubyte_array =sLegalPaper =attr_ubyte =MediaSize =BeginPage
  494. +                         =sint16_xy %l{((240*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  495.  
  496.                 }
  497.             }
  498.         }
  499.     }
  500.     *Option: EXECUTIVE
  501.     {
  502.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  503.         *Constraints: InputBin.Option6
  504.         *PageProtectMem: 4109
  505.         *switch: Orientation
  506.         {
  507.             *case: PORTRAIT
  508.             {
  509.                 *PrintableArea: PAIR(8050, 12180)
  510.                 *PrintableOrigin: PAIR(300, 140)
  511.                 *CursorOrigin: PAIR(240, 140)
  512.                 *Command: CmdSelect
  513.                 {
  514.                     *Order: PAGE_SETUP.4
  515.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  516. +                         =ubyte_array =sExecPaper =attr_ubyte =MediaSize =BeginPage
  517. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  518.  
  519.                 }
  520.             }
  521.             *case: LANDSCAPE_CC90
  522.             {
  523.                 *PrintableArea: PAIR(8220, 12120)
  524.                 *PrintableOrigin: PAIR(240, 240)
  525.                 *CursorOrigin: PAIR(160, 12360)
  526.                 *Command: CmdSelect
  527.                 {
  528.                     *Order: PAGE_SETUP.4
  529.                     *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  530. +                         =ubyte_array =sExecPaper =attr_ubyte =MediaSize =BeginPage
  531. +                         =sint16_xy %l{((240*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  532.  
  533.                 }
  534.             }
  535.         }
  536.     }
  537.     *Option: A3
  538.     {
  539.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  540.         *PageProtectMem: 9667
  541.         *Constraints: InputBin.Option6
  542.         *Constraints: InputBin.Option6
  543.         *switch: Orientation
  544.         {
  545.             *case: PORTRAIT
  546.             {
  547.                 *PrintableArea: PAIR(13428, 19308)
  548.                 *PrintableOrigin: PAIR(300, 300)
  549.                 *CursorOrigin: PAIR(300, 180)
  550.                 *Command: CmdSelect
  551.                 {
  552.                     *Order: PAGE_SETUP.4
  553.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  554. +                         =ubyte_array =sA3Paper =attr_ubyte =MediaSize =BeginPage
  555. +                         =sint16_xy %l{((284*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  556.  
  557.                 }
  558.             }
  559.             *case: LANDSCAPE_CC90
  560.             {
  561.                 *PrintableArea: PAIR(13588, 19368)
  562.                 *PrintableOrigin: PAIR(200, 240)
  563.                 *CursorOrigin: PAIR(200, 19608)
  564.                 *Command: CmdSelect
  565.                 {
  566.                     *Order: PAGE_SETUP.4
  567.                     *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  568. +                         =ubyte_array =sA3Paper =attr_ubyte =MediaSize =BeginPage
  569. +                         =sint16_xy %l{((236*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  570.  
  571.                 }
  572.             }
  573.         }
  574.     }
  575.     *Option: A4
  576.     {
  577.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *%  1008
  578.         *Constraints: InputBin.Option6
  579.         *PageProtectMem: 4249
  580.         *switch: Orientation
  581.         {
  582.             *case: PORTRAIT
  583.             {
  584.                 *PrintableArea: PAIR(9314, 13598)
  585.                 *PrintableOrigin: PAIR(280, 152)
  586.                 *CursorOrigin: PAIR(240, 152)
  587.                 *Command: CmdSelect
  588.                 {
  589.                     *Order: PAGE_SETUP.4
  590.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  591. +                         =ubyte_array =sA4Paper =attr_ubyte =MediaSize =BeginPage
  592. +                         =sint16_xy %l{((284*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  593.                 }
  594.             }
  595.             *case: LANDSCAPE_CC90
  596.             {
  597.                 *PrintableArea: PAIR(9464, 13548)
  598.                 *PrintableOrigin: PAIR(200, 200)
  599.                 *CursorOrigin: PAIR(160, 13788)
  600.                 *Command: CmdSelect
  601.                 {
  602.                     *Order: PAGE_SETUP.4
  603.                     *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  604. +                          =ubyte_array =sA4Paper =attr_ubyte =MediaSize =BeginPage
  605. +                         =sint16_xy %l{((236*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  606.  
  607.                 }
  608.             }
  609.         }
  610.     }
  611.     *Option: A5
  612.     {
  613.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  614.         *Constraints: InputBin.Option6
  615.         *PageProtectMem: 2125
  616.         *switch: Orientation
  617.         {
  618.             *case: PORTRAIT
  619.             {
  620.                 *PrintableArea: PAIR(6396, 9494)
  621.                 *PrintableOrigin: PAIR(300, 152)
  622.                 *CursorOrigin: PAIR(300, 152)
  623.                 *Command: CmdSelect
  624.                 {
  625.                     *Order: PAGE_SETUP.4
  626.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  627. +                         =ubyte_array =sA5Paper =attr_ubyte =MediaSize =BeginPage
  628. +                         =sint16_xy %l{((284*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  629.  
  630.                 }
  631.  
  632.             }
  633.             *case: LANDSCAPE_CC90
  634.             {
  635.                 *PrintableArea: PAIR(6456, 9324)
  636.                 *PrintableOrigin: PAIR(240, 300)
  637.                 *CursorOrigin: PAIR(200, 9624)
  638.                 *Command: CmdSelect
  639.                 {
  640.                     *Order: PAGE_SETUP.4
  641.                     *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  642. +                         =ubyte_array =sA5Paper =attr_ubyte =MediaSize =BeginPage
  643. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  644.  
  645.                 }
  646.             }
  647.         }
  648.     }
  649.     *Option: 11X17
  650.     {
  651.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  652.         *PageProtectMem: 9350
  653.         *Constraints: InputBin.Option6
  654.         *switch: Orientation
  655.         {
  656.             *case: PORTRAIT
  657.             {
  658.                 *PrintableArea: PAIR(12600, 19860)
  659.                 *PrintableOrigin: PAIR(300, 300)
  660.                 *CursorOrigin: PAIR(300, 180)
  661.                 *Command: CmdSelect
  662.                 {
  663.                     *Order: PAGE_SETUP.4
  664.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  665. +                         =ubyte_array =uint16 "<0600>" "LEDGER" =attr_ubyte =MediaSize =BeginPage
  666. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  667.                 }
  668.             }
  669.             *case: LANDSCAPE_CC90
  670.             {
  671.                 *PrintableArea: PAIR(12760, 19920)
  672.                 *PrintableOrigin: PAIR(200, 240)
  673.                 *CursorOrigin: PAIR(200, 20160)
  674.                 *Command: CmdSelect
  675.                 {
  676.                     *Order: PAGE_SETUP.4
  677.                     *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  678. +                         =ubyte_array =uint16 "<0600>" "LEDGER" =attr_ubyte =MediaSize =BeginPage
  679. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  680.                 }
  681.             }
  682.         }
  683.     }
  684.     *Option: A6
  685.     {
  686.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  687.         *PageProtectMem: 4109
  688.         *PageDimensions: PAIR(4956,6996)
  689.         *Constraints: InputBin.Option6
  690.         *Constraints: Duplex.VERTICAL
  691.         *Constraints: Duplex.HORIZONTAL
  692.         *InsertBlock: =PaperConstraints
  693.         *switch: Orientation
  694.         {
  695.             *case: PORTRAIT
  696.             {
  697.                 *PrintableArea: PAIR(4356,6636)
  698.                 *PrintableOrigin: PAIR(300, 180)
  699.                 *CursorOrigin: PAIR(300, 180)
  700.                 *Command: CmdSelect
  701.                 {
  702.                     *Order: PAGE_SETUP.4
  703.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  704. +                         =ubyte_array =sA6Paper =attr_ubyte =MediaSize =BeginPage
  705. +                         =sint16_xy %l{((284*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  706.  
  707.             }
  708.             }
  709.             *case: LANDSCAPE_CC90
  710.             {
  711.                 *PrintableArea: PAIR(4476,6396)
  712.                 *PrintableOrigin: PAIR(240,300)
  713.                 *CursorOrigin: PAIR(200, 6696)
  714.                 *Command: CmdSelect
  715.                 {
  716.                     *Order: PAGE_SETUP.4
  717.                     *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  718. +                         =ubyte_array =sA6Paper =attr_ubyte =MediaSize =BeginPage
  719. +                         =sint16_xy %l{((236*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  720.  
  721.                 }
  722.             }
  723.         }
  724.     }
  725.     *Option: B4
  726.     {
  727.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  728.         *PageProtectMem: 6391
  729.         *Constraints: InputBin.Option6
  730.         *switch: Orientation
  731.         {
  732.             *case: PORTRAIT
  733.             {
  734.                 *PrintableArea: PAIR(11544, 16656)
  735.                 *PrintableOrigin: PAIR(300, 300)
  736.                 *CursorOrigin: PAIR(300, 180)
  737.                 *Command: CmdSelect
  738.                 {
  739.                     *Order: PAGE_SETUP.4
  740.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  741. +                         =ubyte_array =sJB4Paper =attr_ubyte =MediaSize =BeginPage
  742. +                         =sint16_xy %l{((284*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  743.  
  744.                 }
  745.             }
  746.             *case: LANDSCAPE_CC90
  747.             {
  748.                 *PrintableArea: PAIR(11704, 16716)
  749.                 *PrintableOrigin: PAIR(200, 240)
  750.                 *CursorOrigin: PAIR(200, 16956)
  751.                 *Command: CmdSelect
  752.                 {
  753.                     *Order: PAGE_SETUP.4
  754.                     *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  755. +                         =ubyte_array =sJB4Paper =attr_ubyte =MediaSize =BeginPage
  756. +                         =sint16_xy %l{((236*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  757.  
  758.                 }
  759.             }
  760.         }
  761.     }
  762.     *Option: B5
  763.     {
  764.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  765.         *PageProtectMem: 3198
  766.         *Constraints: InputBin.Option6
  767.         *switch: Orientation
  768.         {
  769.             *case: PORTRAIT
  770.             {
  771.                 *PrintableArea: PAIR(7964, 11714)
  772.                 *PrintableOrigin: PAIR(340, 152)
  773.                 *CursorOrigin: PAIR(200, 152)
  774.                 *Command: CmdSelect
  775.                 {
  776.                     *Order: PAGE_SETUP.4
  777.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  778. +                         =ubyte_array =sJB5Paper =attr_ubyte =MediaSize =BeginPage
  779. +                         =sint16_xy %l{((284*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  780.  
  781.                 }
  782.             }
  783.             *case: LANDSCAPE_CC90
  784.             {
  785.                 *PrintableArea: PAIR(8104, 11624)
  786.                 *PrintableOrigin: PAIR(260, 240)
  787.                 *CursorOrigin: PAIR(200, 11904)
  788.                 *Command: CmdSelect
  789.                 {
  790.                     *Order: PAGE_SETUP.4
  791.                     *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  792. +                         =ubyte_array =sJB5Paper =attr_ubyte =MediaSize =BeginPage
  793. +                         =sint16_xy %l{((236*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  794.  
  795.                 }
  796.             }
  797.         }
  798.     }
  799.     *Option: B6_JIS
  800.     {
  801.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  802.         *PageProtectMem: 4109
  803.         *PageDimensions: PAIR(6060,8604)
  804.         *Constraints: InputBin.Option6
  805.         *Constraints: Duplex.VERTICAL
  806.         *Constraints: Duplex.HORIZONTAL
  807.         *InsertBlock: =PaperConstraints
  808.         *switch: Orientation
  809.         {
  810.             *case: PORTRAIT
  811.             {
  812.                 *PrintableArea: PAIR(5460,8004)
  813.                 *PrintableOrigin: PAIR(300, 300)
  814.                 *CursorOrigin: PAIR(300, 180)
  815.                 *Command: CmdSelect
  816.                 {
  817.                     *Order: PAGE_SETUP.4
  818.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  819. +                         =ubyte_array =sJB6Paper =attr_ubyte =MediaSize =BeginPage
  820. +                         =sint16_xy %l{((284*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  821.  
  822.                 }
  823.             }
  824.             *case: LANDSCAPE_CC90
  825.             {
  826.                 *PrintableArea: PAIR(5580,8004)
  827.                 *PrintableOrigin: PAIR(240,300)
  828.                 *CursorOrigin: PAIR(200, 8304)
  829.                 *Command: CmdSelect
  830.                 {
  831.                     *Order: PAGE_SETUP.4
  832.                     *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  833. +                         =ubyte_array =sJB6Paper =attr_ubyte =MediaSize =BeginPage
  834. +                         =sint16_xy %l{((236*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  835.  
  836.                 }
  837.             }
  838.         }
  839.     }
  840.     *Option: JAPANESE_POSTCARD
  841.     {
  842.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  843.         *PageProtectMem: 4109
  844.         *Constraints: InputBin.Option6
  845.         *Constraints: Duplex.VERTICAL
  846.         *Constraints: Duplex.HORIZONTAL
  847.        *InsertBlock: =PaperConstraints
  848.     *switch: Orientation
  849.         {
  850.             *case: PORTRAIT
  851.             {
  852.                 *PrintableArea: PAIR(4108, 6396)
  853.                 *PrintableOrigin: PAIR(300, 300)
  854.                 *CursorOrigin: PAIR(300, 180)
  855.                 *Command: CmdSelect
  856.                 {
  857.                     *Order: PAGE_SETUP.4
  858.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  859. +                         =ubyte =eJPostcard =attr_ubyte =MediaSize =BeginPage
  860. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  861.  
  862.                 }
  863.             }
  864.             *case: LANDSCAPE_CC90
  865.             {
  866.                 *PrintableArea: PAIR(4128, 6396)
  867.                 *PrintableOrigin: PAIR(300, 300)
  868.                 *CursorOrigin: PAIR(200, 6696)
  869.                 *Command: CmdSelect
  870.                 {
  871.                     *Order: PAGE_SETUP.4
  872.                     *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  873. +                         =ubyte =eJPostcard =attr_ubyte =MediaSize =BeginPage
  874. +                         =sint16_xy %l{((240*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  875.  
  876.                 }
  877.             }
  878.         }
  879.     }
  880.      *Option: DBL_JAPANESE_POSTCARD_ROTATED
  881.     {
  882.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  883.         *PageProtectMem: 4109
  884.         *Constraints: InputBin.Option6
  885.         *Constraints: Duplex.VERTICAL
  886.         *Constraints: Duplex.HORIZONTAL
  887.         *InsertBlock: =PaperConstraints
  888.         *switch: Orientation
  889.         {
  890.             *case: PORTRAIT
  891.             {
  892.                 *PrintableArea: PAIR(6376,8856)
  893.                 *PrintableOrigin: PAIR(300, 300)
  894.                 *CursorOrigin: PAIR(300, 180)
  895.                 *Command: CmdSelect
  896.                 {
  897.                     *Order: PAGE_SETUP.4
  898.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  899. +                         =ubyte =eJDoublePostcard =attr_ubyte =MediaSize =BeginPage
  900. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  901.  
  902.                 }
  903.             }
  904.             *case: LANDSCAPE_CC90
  905.             {
  906.                 *PrintableArea: PAIR(6396, 8856)
  907.                 *PrintableOrigin: PAIR(300, 300)
  908.                 *CursorOrigin: PAIR(200, 9156)
  909.                 *Command: CmdSelect
  910.                 {
  911.                     *Order: PAGE_SETUP.4
  912.                     *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  913. +                         =ubyte =eJDoublePostcard =attr_ubyte =MediaSize =BeginPage
  914. +                         =sint16_xy %l{((240*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  915.  
  916.                 }
  917.             }
  918.         }
  919.     }
  920.     *Option: ENV_10
  921.     {
  922.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *%  1019
  923.         *InsertBlock: =PaperConstraints
  924.         *Constraints: Duplex.VERTICAL
  925.         *Constraints: Duplex.HORIZONTAL
  926.         *PageProtectMem: 4109
  927.         *switch: Orientation
  928.         {
  929.             *case: PORTRAIT
  930.             {
  931.                 *PrintableArea: PAIR(4336, 10950)
  932.                 *PrintableOrigin: PAIR(300, 152)
  933.                 *CursorOrigin: PAIR(300, 152)
  934.                 *Command: CmdSelect
  935.                 {
  936.                     *Order: PAGE_SETUP.4
  937.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  938. +                         =ubyte_array =sCOM10Envelope =attr_ubyte =MediaSize =BeginPage
  939. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  940.  
  941.                 }
  942.             }
  943.             *case: LANDSCAPE_CC90
  944.             {
  945.                 *PrintableArea: PAIR(4416, 10800)
  946.                 *PrintableOrigin: PAIR(240, 300)
  947.                 *CursorOrigin: PAIR(200, 11100)
  948.                 *Command: CmdSelect
  949.                 {
  950.                     *Order: PAGE_SETUP.4
  951.                     *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  952. +                         =ubyte_array =sCOM10Envelope =attr_ubyte =MediaSize =BeginPage
  953. +                         =sint16_xy %l{((240*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  954.  
  955.                 }
  956.             }
  957.         }
  958.     }
  959.     *Option: ENV_DL
  960.     {
  961.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *%  1026
  962.         *InsertBlock: =PaperConstraints
  963.         *Constraints: Duplex.VERTICAL
  964.         *Constraints: Duplex.HORIZONTAL
  965.         *PageProtectMem: 4109
  966.         *switch: Orientation
  967.         {
  968.             *case: PORTRAIT
  969.             {
  970.                 *PrintableArea: PAIR(4576, 9952)
  971.                 *PrintableOrigin: PAIR(300, 140)
  972.                 *CursorOrigin: PAIR(300, 140)
  973.                 *Command: CmdSelect
  974.                 {
  975.                     *Order: PAGE_SETUP.4
  976.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  977. +                         =ubyte_array =sDLEnvelope =attr_ubyte =MediaSize =BeginPage
  978. +                         =sint16_xy %l{((284*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  979.  
  980.                 }
  981.             }
  982.             *case: LANDSCAPE_CC90
  983.             {
  984.                 *PrintableArea: PAIR(4676, 9792)
  985.                 *PrintableOrigin: PAIR(220, 300)
  986.                 *CursorOrigin: PAIR(200, 10092)
  987.                 *Command: CmdSelect
  988.                 {
  989.                     *Order: PAGE_SETUP.4
  990.                     *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  991. +                         =ubyte_array =sDLEnvelope =attr_ubyte =MediaSize =BeginPage
  992. +                         =sint16_xy %l{((236*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  993.  
  994.                 }
  995.             }
  996.         }
  997.     }
  998.     *Option: ENV_C5
  999.     {
  1000.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *%  1027
  1001.         *InsertBlock: =PaperConstraints
  1002.         *Constraints: Duplex.VERTICAL
  1003.         *Constraints: Duplex.HORIZONTAL
  1004.         *PageProtectMem: 4109
  1005.         *switch: Orientation
  1006.         {
  1007.             *case: PORTRAIT
  1008.             {
  1009.                 *PrintableArea: PAIR(7036, 10384)
  1010.                 *PrintableOrigin: PAIR(300, 140)
  1011.                 *CursorOrigin: PAIR(300, 140)
  1012.                 *Command: CmdSelect
  1013.                 {
  1014.                     *Order: PAGE_SETUP.4
  1015.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1016. +                         =ubyte_array =sC5Envelope =attr_ubyte =MediaSize =BeginPage
  1017. +                         =sint16_xy %l{((284*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1018.  
  1019.                 }
  1020.             }
  1021.             *case: LANDSCAPE_CC90
  1022.             {
  1023.                 *PrintableArea: PAIR(7116, 10224)
  1024.                 *PrintableOrigin: PAIR(240, 300)
  1025.                 *CursorOrigin: PAIR(200, 10524)
  1026.                 *Command: CmdSelect
  1027.                 {
  1028.                     *Order: PAGE_SETUP.4
  1029.                     *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  1030. +                         =ubyte_array =sC5Envelope =attr_ubyte =MediaSize =BeginPage
  1031. +                         =sint16_xy %l{((236*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1032.  
  1033.                 }
  1034.             }
  1035.         }
  1036.     }
  1037.     *Option: ENV_MONARCH
  1038.     {
  1039.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *%  1036
  1040.         *InsertBlock: =PaperConstraints
  1041.         *Constraints: Duplex.VERTICAL
  1042.         *Constraints: Duplex.HORIZONTAL
  1043.         *PageProtectMem: 4109
  1044.         *switch: Orientation
  1045.         {
  1046.             *case: PORTRAIT
  1047.             {
  1048.                 *PrintableArea: PAIR(4036, 8560)
  1049.                 *PrintableOrigin: PAIR(300, 140)
  1050.                 *CursorOrigin: PAIR(300, 140)
  1051.                 *Command: CmdSelect
  1052.                 {
  1053.                     *Order: PAGE_SETUP.4
  1054.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1055. +                         =ubyte_array =sMonarchEnvelope =attr_ubyte =MediaSize =BeginPage
  1056. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1057.  
  1058.                 }
  1059.             }
  1060.             *case: LANDSCAPE_CC90
  1061.             {
  1062.                 *PrintableArea: PAIR(4116, 8400)
  1063.                 *PrintableOrigin: PAIR(240, 300)
  1064.                 *CursorOrigin: PAIR(200, 8700)
  1065.                 *Command: CmdSelect
  1066.                 {
  1067.                     *Order: PAGE_SETUP.4
  1068.                     *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  1069. +                         =ubyte_array =sMonarchEnvelope =attr_ubyte =MediaSize =BeginPage
  1070. +                         =sint16_xy %l{((240*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1071.  
  1072.                 }
  1073.             }
  1074.         }
  1075.     }
  1076.     *Option: ENV_B5
  1077.     {
  1078.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  1079.         *PageProtectMem: 4109
  1080.         *InsertBlock: =PaperConstraints
  1081.         *Constraints: Duplex.VERTICAL
  1082.         *Constraints: Duplex.HORIZONTAL
  1083.         *switch: Orientation
  1084.         {
  1085.             *case: PORTRAIT
  1086.             {
  1087.                 *PrintableArea: PAIR(7716, 11368)
  1088.                 *PrintableOrigin: PAIR(300, 140)
  1089.                 *CursorOrigin: PAIR(300, 140)
  1090.                 *Command: CmdSelect
  1091.                 {
  1092.                     *Order: PAGE_SETUP.4
  1093.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1094. +                         =ubyte_array =sB5Envelope =attr_ubyte =MediaSize =BeginPage
  1095. +                         =sint16_xy %l{((284*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1096.  
  1097.                 }
  1098.             }
  1099.             *case: LANDSCAPE_CC90
  1100.             {
  1101.                 *PrintableArea: PAIR(7776, 11208)
  1102.                 *PrintableOrigin: PAIR(240, 300)
  1103.                 *CursorOrigin: PAIR(200, 11508)
  1104.                 *Command: CmdSelect
  1105.                 {
  1106.                     *Order: PAGE_SETUP.4
  1107.                     *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  1108. +                         =ubyte_array =sB5Envelope =attr_ubyte =MediaSize =BeginPage
  1109. +                         =sint16_xy %l{((236*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1110.  
  1111.                 }
  1112.             }
  1113.         }
  1114.     }
  1115.     *Option: MyMax117x177
  1116.     {
  1117.         *% Maximum 11.7 x17.7
  1118.         *rcNameID: =MAX_117_177_DISPLAY
  1119.         *PageDimensions: PAIR(14040, 21240)
  1120.         *PageProtectMem: 10000
  1121.         *InsertBlock: =PaperConstraints
  1122.         *Constraints: Duplex.VERTICAL
  1123.         *Constraints: Duplex.HORIZONTAL
  1124.         *Constraints: InputBin.Option6
  1125.     *InsertBlock: =PaperConstraints
  1126.         *switch: Orientation
  1127.         {
  1128.             *case: PORTRAIT
  1129.             {
  1130.                 *PrintableArea: PAIR(13420, 20640)
  1131.                 *PrintableOrigin: PAIR(300, 300)
  1132.                 *CursorOrigin: PAIR(300, 180)
  1133.                 *Command: CmdSelect
  1134.                 {
  1135.                     *Order: PAGE_SETUP.4
  1136.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1137. +                         =uint16_xy "<0B9C1190>" =attr_ubyte =CustomMediaSize
  1138. +                          =ubyte =eTenthsOfAMillimeter =attr_ubyte =CustomMediaSizeUnits =BeginPage
  1139. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1140.  
  1141.                 }
  1142.             }
  1143.             *case: LANDSCAPE_CC90
  1144.             {
  1145.                 *PrintableArea: PAIR(13600, 20760)
  1146.                 *PrintableOrigin: PAIR(200, 240)
  1147.                 *CursorOrigin: PAIR(200, 21000)
  1148.                 *Command: CmdSelect
  1149.                 {
  1150.                     *Order: PAGE_SETUP.4
  1151.                     *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  1152. +                         =uint16_xy "<0B9C1190>" =attr_ubyte =CustomMediaSize
  1153. +                          =ubyte =eTenthsOfAMillimeter =attr_ubyte =CustomMediaSizeUnits =BeginPage
  1154. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1155.  
  1156.                 }
  1157.             }
  1158.         }
  1159.     }
  1160.     *Option: CUSTOMSIZE
  1161.     {
  1162.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *%  1255
  1163.         *MinSize: PAIR(3600, 6000)
  1164.         *MaxSize: PAIR(10200, 32767)
  1165.         *MaxPrintableWidth: 10200
  1166.         *MinLeftMargin: 100
  1167.         *CenterPrintable?: FALSE
  1168.         *PageProtectMem: 1692
  1169.         *switch: Orientation
  1170.         {
  1171.             *case: PORTRAIT
  1172.             {
  1173.                 *CustCursorOriginX:  %d{((PhysPaperWidth - 10200) / 2) + 300 }
  1174.                 *CustCursorOriginY:   %d{140 }
  1175.                 *CustPrintableOriginX:  %d{300 }
  1176.                 *CustPrintableOriginY:  %d{300}
  1177.                 *CustPrintableSizeX:   %d{ PhysPaperWidth - 600 }
  1178.                 *CustPrintableSizeY:  %d{ PhysPaperLength - 600 }
  1179.                 *Command: CmdSelect
  1180.                 {
  1181.                     *Order: PAGE_SETUP.4
  1182.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1183. +                         =uint16_xy %l{(PhysPaperWidth / 1200)}%l{(PhysPaperLength / 1200)} =attr_ubyte =CustomMediaSize
  1184. +                         =ubyte =eInch =attr_ubyte =CustomMediaSizeUnits =BeginPage
  1185. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1186.  
  1187.                 }
  1188.             }
  1189.             *case: LANDSCAPE_CC90
  1190.             {
  1191.                 *CustCursorOriginX:  %d{((PhysPaperWidth - 10200) / 2) + 200 }
  1192.                 *CustCursorOriginY:   %d{16560 }
  1193.                 *CustPrintableOriginX:  %d{200 }
  1194.                 *CustPrintableOriginY:  %d{240}
  1195.                 *CustPrintableSizeX:   %d{ PhysPaperWidth - 400 }
  1196.                 *CustPrintableSizeY:  %d{ PhysPaperLength - 480 }
  1197.                 *Command: CmdSelect
  1198.                 {
  1199.                     *Order: PAGE_SETUP.4
  1200.                     *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  1201. +                         =uint16_xy %l{(PhysPaperWidth / 1200)}%l{(PhysPaperLength / 1200)} =attr_ubyte =CustomMediaSize
  1202. +                         =ubyte =eInch =attr_ubyte =CustomMediaSizeUnits =BeginPage
  1203. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1204.  
  1205.                 }
  1206.             }
  1207.         }
  1208.     }
  1209. }
  1210.  
  1211. *%%% ======================
  1212. *%%% PAGE_SETUP.1
  1213. *%%% BeginPage(0x43)
  1214. *%%%     Orientation(0x40), MediaSize(0x37), MediaSource(0x38)
  1215. *%%%     ubyte               ubyte             ubyte
  1216. *%%%     MediaSource
  1217. *Feature: InputBin
  1218. {
  1219.     *rcNameID: =PAPER_SOURCE_DISPLAY
  1220.     *DefaultOption: Option1
  1221.     *Option: Option1
  1222.     {
  1223.         *rcNameID: =AUTO_DISPLAY
  1224.         *Command: CmdSelect
  1225.         {
  1226.             *Order: PAGE_SETUP.1
  1227.             *Cmd: =ubyte =eAutoSelect =attr_ubyte =MediaSource
  1228.         }
  1229.     }
  1230.     *Option: Option2
  1231.     {
  1232.         *rcNameID: =TRAY1_DISPLAY
  1233.         *Command: CmdSelect
  1234.         {
  1235.             *Order: PAGE_SETUP.1
  1236.             *Cmd: =ubyte =eMultiPurposeTray =attr_ubyte =MediaSource
  1237.         }
  1238.     }
  1239.     *Option: Option3
  1240.     {
  1241.         *rcNameID: =TRAY2_DISPLAY
  1242.         *Command: CmdSelect
  1243.         {
  1244.             *Order: PAGE_SETUP.1
  1245.             *Cmd: =ubyte =eUpperCassette =attr_ubyte =MediaSource
  1246.         }
  1247.     }
  1248.     *Option: Option4
  1249.     {
  1250.         *rcNameID: =TRAY3_DISPLAY
  1251.         *Command: CmdSelect
  1252.         {
  1253.             *Order: PAGE_SETUP.1
  1254.             *Cmd: =ubyte =eThirdCassette =attr_ubyte =MediaSource
  1255.         }
  1256.     }
  1257.     *Option: Option5
  1258.     {
  1259.         *rcNameID: =TRAY4_DISPLAY
  1260.         *Command: CmdSelect
  1261.         {
  1262.             *Order: PAGE_SETUP.1
  1263.             *Cmd: =ubyte =eLowerCassette =attr_ubyte =MediaSource
  1264.         }
  1265.     }
  1266.     *Option: Option6
  1267.     {
  1268.         *rcNameID: =ENV_FEED_DISPLAY
  1269.         *Command: CmdSelect
  1270.         {
  1271.             *Order: PAGE_SETUP.1
  1272.             *Cmd: =ubyte =eEnvelopeTray =attr_ubyte =MediaSource
  1273.         }
  1274.     }
  1275.     *Option: Option7
  1276.     {
  1277.         *rcNameID: =MANUAL_FEED_DISPLAY
  1278.         *Command: CmdSelect
  1279.         {
  1280.             *Order: PAGE_SETUP.1
  1281.             *Cmd: =ubyte =eManualFeed =attr_ubyte =MediaSource
  1282.         }
  1283.     }
  1284. }
  1285.  
  1286. *%%% ======================
  1287. *%%% PAGE_SETUP.2
  1288. *%%% BeginPage(0x43)
  1289. *%%%     Orientation(0x40), MediaSize(0x37), MediaSource(0x38), MediaType
  1290. *%%%     ubyte               ubyte             ubyte
  1291. *%%%     MediaType
  1292. *Feature: MediaType
  1293. {
  1294.     *rcNameID: =MEDIA_TYPE_DISPLAY
  1295.     *DefaultOption: AutoSelect
  1296.  
  1297.     *Option: AutoSelect
  1298.     {
  1299.         *rcNameID: =AUTO_SELECT_DISPLAY
  1300.     }
  1301.     *Option: Plain
  1302.     {
  1303.         *rcNameID: =PLAIN_DISPLAY
  1304.         *Command: CmdSelect
  1305.         {
  1306.             *Order: PAGE_SETUP.3
  1307.             *Cmd: =ubyte_array =uint16 "<0500>" =ePlain =attr_ubyte =MediaType
  1308.         }
  1309.     }
  1310.     *Option: Preprinted
  1311.     {
  1312.         *rcNameID: =PREPRINTED_DISPLAY
  1313.         *Command: CmdSelect
  1314.         {
  1315.             *Order: PAGE_SETUP.3
  1316.             *Cmd: =ubyte_array =uint16 "<0a00>" =ePreprinted =attr_ubyte =MediaType
  1317.         }
  1318.     }
  1319.     *Option: Letterhead
  1320.     {
  1321.         *rcNameID: =LETTERHEAD_DISPLAY
  1322.         *Command: CmdSelect
  1323.         {
  1324.             *Order: PAGE_SETUP.3
  1325.             *Cmd: =ubyte_array =uint16 "<0a00>" =eLetterhead =attr_ubyte =MediaType
  1326.         }
  1327.     }
  1328.     *Option: Transparency
  1329.     {
  1330.         *rcNameID: =TRANSPARENCY_DISPLAY
  1331.     *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  1332.         *Command: CmdSelect
  1333.         {
  1334.             *Order: PAGE_SETUP.3
  1335.             *Cmd: =ubyte_array =uint16 "<0c00>" =eTransparency =attr_ubyte =MediaType
  1336.         }
  1337.     }
  1338.     *Option: Prepunched
  1339.     {
  1340.         *rcNameID: =PREPUNCHED_DISPLAY
  1341.         *Command: CmdSelect
  1342.         {
  1343.             *Order: PAGE_SETUP.3
  1344.             *Cmd: =ubyte_array =uint16 "<0a00>" =ePrepunched =attr_ubyte =MediaType
  1345.         }
  1346.     }
  1347.     *Option: Labels
  1348.     {
  1349.         *rcNameID: =LABELS_DISPLAY
  1350.     *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  1351.         *Command: CmdSelect
  1352.         {
  1353.             *Order: PAGE_SETUP.3
  1354.             *Cmd: =ubyte_array =uint16 "<0600>" =eLabels =attr_ubyte =MediaType
  1355.         }
  1356.     }
  1357.     *Option: Bond
  1358.     {
  1359.         *rcNameID: =BOND_DISPLAY
  1360.         *Command: CmdSelect
  1361.         {
  1362.             *Order: PAGE_SETUP.3
  1363.             *Cmd: =ubyte_array =uint16 "<0400>" =eBond =attr_ubyte =MediaType
  1364.         }
  1365.     }
  1366.     *Option: Recycled
  1367.     {
  1368.         *rcNameID: =RECYCLED_DISPLAY
  1369.         *Command: CmdSelect
  1370.         {
  1371.             *Order: PAGE_SETUP.3
  1372.             *Cmd: =ubyte_array =uint16 "<0800>" =eRecycled =attr_ubyte =MediaType
  1373.         }
  1374.     }
  1375.     *Option: Color
  1376.     {
  1377.         *rcNameID: =COLOR_DISPLAY
  1378.         *Command: CmdSelect
  1379.         {
  1380.             *Order: PAGE_SETUP.3
  1381.             *Cmd: =ubyte_array =uint16 "<0500>" =eColor =attr_ubyte =MediaType
  1382.         }
  1383.     }
  1384.     *Option: CardStock
  1385.     {
  1386.         *rcNameID: =CARDSTOCK_DISPLAY
  1387.         *Command: CmdSelect
  1388.         {
  1389.             *Order: PAGE_SETUP.3
  1390.             *Cmd: =ubyte_array =uint16 "<0a00>" =eCardstock =attr_ubyte =MediaType
  1391.         }
  1392.     }
  1393.     *Option: Rough
  1394.     {
  1395.         *rcNameID: =ROUGH_DISPLAY
  1396.         *Command: CmdSelect
  1397.         {
  1398.             *Order: PAGE_SETUP.3
  1399.             *Cmd: =ubyte_array =uint16 "<0500>" =eRough =attr_ubyte =MediaType
  1400.         }
  1401.     }
  1402. }
  1403.  
  1404. *%%% ======================
  1405. *%%% PAGE_SETUP.2
  1406. *%%% DuplexPageMode(53(0x35))
  1407. *Feature: Duplex
  1408. {
  1409.     *rcNameID: =TWO_SIDED_PRINTING_DISPLAY
  1410.     *DefaultOption: NONE
  1411.     *Option: NONE
  1412.     {
  1413.         *rcNameID: =NONE_DISPLAY
  1414.         *Command: CmdSelect
  1415.         {
  1416.             *Order: JOB_SETUP.6
  1417.             *Cmd: "@PJL SET DUPLEX=OFF<0A>"
  1418.         }
  1419.     }
  1420.     *Option: VERTICAL
  1421.     {
  1422.         *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
  1423.         *Command: CmdSelect
  1424.         {
  1425.             *Order: JOB_SETUP.6
  1426.             *Cmd: "@PJL SET DUPLEX=ON<0A>@PJL SET BINDING=LONGEDGE<0A>"
  1427.         }
  1428.     }
  1429.     *Option: HORIZONTAL
  1430.     {
  1431.         *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
  1432.         *Command: CmdSelect
  1433.         {
  1434.             *Order: JOB_SETUP.6
  1435.             *Cmd: "@PJL SET DUPLEX=ON<0A>@PJL SET BINDING=SHORTEDGE<0A>"
  1436.         }
  1437.     }
  1438. }
  1439.  
  1440. *%%% ======================
  1441. *%%% PAGE_SETUP.4
  1442. *%%% SetPageOrigin
  1443. *%%%     PageOrigin
  1444. *%%% SetPageScale
  1445. *Command: CmdStartPage
  1446. {
  1447.     *Order: PAGE_SETUP.4
  1448.     *Cmd: =real32_xy "<0000803f><0000803f>" =attr_ubyte =PageScale =SetPageScale
  1449. +         =ubyte "<01>" =attr_ubyte =ColorSpace =SetColorSpace
  1450. }
  1451.  
  1452. *%%% ======================
  1453. *%%% PAGE_SETUP.5
  1454. *%%% Feature
  1455. *%%% Dither
  1456. *Feature: Dither
  1457. {
  1458.     *rcNameID: =DITHER_QUALITY_DISPLAY
  1459.     *DefaultOption: HIQUALITY
  1460.     *Option: HIQUALITY
  1461.     {
  1462.         *rcNameID: =DITHER_QUALITY_HIGH_DISPLAY
  1463.         *Command: CmdSelect
  1464.         {
  1465.             *Order: PAGE_SETUP.5
  1466.             *Cmd:
  1467. +         =ubyte "<00>" =attr_ubyte =DitherMatrixDataType
  1468. +         =uint16_xy "<10001000>" =attr_ubyte =DitherMatrixSize
  1469. +         =ubyte "<02>" =attr_ubyte =DitherMatrixDepth
  1470. +         =SetHalftoneMethod
  1471. +         =dataLength "<00010000>"
  1472. +         "<42786A3C2B1B1E2E4175673A2A1A1D2D>"
  1473. +         "<88FDE8531703042484F8E35116030424>"
  1474. +         "<99FFD45E1302072195FFCE5B12010721>"
  1475. +         "<4ABFAB36280B0F3248BAA735270A0E31>"
  1476. +         "<28171B2B3D6C5F3729191C2C3F716439>"
  1477. +         "<130203227AEBD64B1502032380F3DE4E>"
  1478. +         "<0F01051F8AFFC2551101062090FFC958>"
  1479. +         "<2525080B2F43AE9B3226090D3046B5A234>"
  1480. +         "<4073653A29191D2D4276693B2A1A1E2E>"
  1481. +         "<82F5E1501502042386FAE65216030424>"
  1482. +         "<92FFCC5A1101062097FFD15D12020721>"
  1483. +         "<47B8A435260A0D3049BDA936270A0E31>"
  1484. +         "<29181C2C3E6F623828181C2B3D6E6138>"
  1485. +         "<140203237EF0DB4D140203227CEED94C>"
  1486. +         "<1001051F8EFFC7571001051F8CFFC456>"
  1487. +         "<26090C2F45B3A0342525080C2F44B09D33>"
  1488.         }
  1489.     }
  1490.     *Option: LOQUALITY
  1491.     {
  1492.         *rcNameID: =DITHER_QUALITY_LOW_DISPLAY
  1493.     }
  1494. }
  1495.  
  1496.  
  1497. *%%% ======================
  1498. *%%% Feature
  1499. *%%% Memory
  1500. *Feature: Memory
  1501. {
  1502.     *rcNameID: =PRINTER_MEMORY_DISPLAY
  1503.     *DefaultOption: 4MB
  1504. *% 4MB Standard memory, 3 memory slots with 4, 8, 16 or 32 MB dimms avail.
  1505. *% Max memory 96 (+4 on board) = 100
  1506.         *MemConfigMB: PAIR(4, 3)
  1507.         *MemConfigMB: PAIR(8, 7)
  1508.         *MemConfigMB: PAIR(12, 10)
  1509.         *MemConfigMB: PAIR(16, 13)
  1510.         *MemConfigMB: PAIR(20, 17)
  1511.         *MemConfigMB: PAIR(24, 21)
  1512.         *MemConfigMB: PAIR(28, 24)
  1513.         *MemConfigMB: PAIR(32, 28)
  1514.         *MemConfigMB: PAIR(36, 31)
  1515.         *MemConfigMB: PAIR(40, 35)
  1516.         *MemConfigMB: PAIR(44, 39)
  1517.         *MemConfigMB: PAIR(48, 42)
  1518.         *MemConfigMB: PAIR(52, 46)
  1519.         *MemConfigMB: PAIR(56, 49)
  1520.         *MemConfigMB: PAIR(60, 52)
  1521.         *MemConfigMB: PAIR(68, 59)
  1522.         *MemConfigMB: PAIR(72, 64)
  1523.         *MemConfigMB: PAIR(76, 67)
  1524.         *MemConfigMB: PAIR(84, 75)
  1525.         *MemConfigMB: PAIR(100, 89)
  1526. }
  1527.  
  1528. *%%% ======================
  1529. *%%% Device fonts
  1530. *%%% ======================
  1531.  
  1532. *DefaultFont: =RC_FONT_COURIERR
  1533. *DefaultCTT: 0
  1534.  
  1535. *DeviceFonts: LIST(
  1536. +   =RC_FONT_ALBERTR,   
  1537. +   =RC_FONT_ALBERTX,   
  1538. +   =RC_FONT_AOLIVEB,   
  1539. +   =RC_FONT_AOLIVEI,   
  1540. +   =RC_FONT_AOLIVER,   
  1541. +   =RC_FONT_ARIALB,    
  1542. +   =RC_FONT_ARIALI,    
  1543. +   =RC_FONT_ARIALJ,    
  1544. +   =RC_FONT_ARIALR,    
  1545. +   =RC_FONT_CGOMEGAB,  
  1546. +   =RC_FONT_CGOMEGAI,  
  1547. +   =RC_FONT_CGOMEGAJ,  
  1548. +   =RC_FONT_CGOMEGAR,  
  1549. +   =RC_FONT_CGTIMESB,  
  1550. +   =RC_FONT_CGTIMESI,  
  1551. +   =RC_FONT_CGTIMESJ,  
  1552. +   =RC_FONT_CGTIMESR,  
  1553. +   =RC_FONT_CLARCD,    
  1554. +   =RC_FONT_CORONETR,  
  1555. +   =RC_FONT_COURIERB,  
  1556. +   =RC_FONT_COURIERI,  
  1557. +   =RC_FONT_COURIERJ,  
  1558. +   =RC_FONT_COURIERR,  
  1559. +   =RC_FONT_GARMONDB,  
  1560. +   =RC_FONT_GARMONDI,  
  1561. +   =RC_FONT_GARMONDJ,  
  1562. +   =RC_FONT_GARMONDR,  
  1563. +   =RC_FONT_LETGOTHB,  
  1564. +   =RC_FONT_LETGOTHI,  
  1565. +   =RC_FONT_LETGOTHR,  
  1566. +   =RC_FONT_MARGOLDR,  
  1567. +   =RC_FONT_TIMESNRB,  
  1568. +   =RC_FONT_TIMESNRI,  
  1569. +   =RC_FONT_TIMESNRJ,  
  1570. +   =RC_FONT_TIMESNRR,  
  1571. +   =RC_FONT_UNIVERCB,  
  1572. +   =RC_FONT_UNIVERCI,  
  1573. +   =RC_FONT_UNIVERCJ,  
  1574. +   =RC_FONT_UNIVERCR,  
  1575. +   =RC_FONT_UNIVERSA,  
  1576. +   =RC_FONT_UNIVERSB,  
  1577. +   =RC_FONT_UNIVERSC,  
  1578. +   =RC_FONT_UNIVERSD,  
  1579. +   =RC_FONT_UNIVERSE,  
  1580. +   =RC_FONT_UNIVERSI,  
  1581. +   =RC_FONT_UNIVERSJ,  
  1582. +   =RC_FONT_UNIVERSR,  
  1583. +   =RC_FONT_WINGDINGS, 
  1584. +   =RC_FONT_SYMBOL)
  1585.  
  1586. *% TT font Substituition table for our device fonts
  1587. *% Arial and TNR are substituted in ttfsub.gpd
  1588. *TTFS: AlbertusM
  1589. {
  1590.   *TTFontName: "Albertus Medium"
  1591.   *DevFontName: "Albertus Medium"
  1592. }
  1593. *TTFS: AlbertusX
  1594. {
  1595.   *TTFontName: "Albertus Extra Bold"
  1596.   *DevFontName: "Albertus Extra Bold"
  1597. }
  1598. *TTFS: AntiqueOlive
  1599. {
  1600.   *TTFontName: "Antique Olive"
  1601.   *DevFontName: "Antique Olive"
  1602. }
  1603. *TTFS: CGOmega
  1604. {
  1605.   *TTFontName: "CG Omega"
  1606.   *DevFontName: "CG Omega"
  1607. }
  1608. *TTFS: CGTimes
  1609. {
  1610.   *TTFontName: "CG Times"
  1611.   *DevFontName: "CG Times"
  1612. }
  1613. *TTFS: ClarendonCD
  1614. {
  1615.   *TTFontName: "Clarendon Condensed Bold"
  1616.  *DevFontName: "Clarendon Condensed"
  1617. }
  1618. *TTFS: Coronet
  1619. {
  1620.   *TTFontName: "Coronet"
  1621.   *DevFontName: "Coronet"
  1622. }
  1623. *TTFS: Garamond
  1624. {
  1625.   *TTFontName: "Garamond"
  1626.   *DevFontName: "Garamond"
  1627. }
  1628. *TTFS: LetterGothic
  1629. {
  1630.   *TTFontName: "Letter Gothic"
  1631.   *DevFontName: "Letter Gothic"
  1632. }
  1633. *TTFS: Marigold
  1634. {
  1635.   *TTFontName: "Marigold"
  1636.   *DevFontName: "Marigold"
  1637. }
  1638. *TTFS: Univers
  1639. {
  1640.   *TTFontName: "Univers Medium"
  1641.   *DevFontName: "Univers"
  1642. }
  1643. *TTFS: UniversCD
  1644. {
  1645.   *TTFontName: "Univers Condensed Medium"
  1646.   *DevFontName: "Univers Condensed"
  1647. }
  1648. *TTFS: CourierNew
  1649. {
  1650.   *TTFontName: "Courier New"
  1651.   *DevFontName: "Courier New"
  1652. }
  1653. *% These 4 fonts need to be substituted to match the name that applications use to select the font.  For
  1654. *% some reason the names are different.
  1655. *TTFS: ClarendonCD1
  1656. {
  1657.   *TTFontName: "Clarendon Condensed"
  1658.  *DevFontName: "Clarendon Condensed"
  1659. }
  1660. *TTFS: Univers1
  1661. {
  1662.   *TTFontName: "Univers"
  1663.   *DevFontName: "Univers"
  1664. }
  1665. *TTFS: UniversCD1
  1666. {
  1667.   *TTFontName: "Univers Condensed"
  1668.   *DevFontName: "Univers Condensed"
  1669. }
  1670.  
  1671. *%% =======================
  1672. *%% Optional Input Trays
  1673. *%% =======================
  1674. *Feature: TRAY3
  1675. {
  1676.     *rcNameID: =TRAY3_DISPLAY
  1677.     *FeatureType: PRINTER_PROPERTY
  1678.     *DefaultOption: FALSE
  1679.     *Option: FALSE
  1680.     {
  1681.         *rcNameID: =NOT_INSTALLED_DISPLAY
  1682.     }
  1683.     *Option: TRUE
  1684.     {
  1685.         *rcNameID: =INSTALLED_DISPLAY
  1686.     }
  1687. }
  1688. *InvalidCombination: LIST(TRAY3.FALSE,InputBin.Option4)
  1689.  
  1690. *Feature: TRAY4
  1691. {
  1692.     *rcNameID: =TRAY4_DISPLAY
  1693.     *FeatureType: PRINTER_PROPERTY
  1694.     *DefaultOption: FALSE
  1695.     *Option: FALSE
  1696.     {
  1697.         *rcNameID: =NOT_INSTALLED_DISPLAY
  1698.     }
  1699.     *Option: TRUE
  1700.     {
  1701.         *rcNameID: =INSTALLED_DISPLAY
  1702.     }
  1703. }
  1704. *InvalidCombination: LIST(TRAY4.FALSE,InputBin.Option5)
  1705. *InvalidCombination: LIST(TRAY4.TRUE,TRAY3.FALSE)
  1706.  
  1707. *Feature: EnvFeeder
  1708. {
  1709.     *rcNameID: =ENV_FEED_DISPLAY
  1710.     *FeatureType: PRINTER_PROPERTY
  1711.     *DefaultOption: FALSE
  1712.     *Option: FALSE
  1713.     {
  1714.         *rcNameID: =NOT_INSTALLED_DISPLAY
  1715.     }
  1716.     *Option: TRUE
  1717.     {
  1718.         *rcNameID: =INSTALLED_DISPLAY
  1719.     }
  1720. }
  1721. *InvalidCombination: LIST(EnvFeeder.FALSE,InputBin.Option6)
  1722.  
  1723. *%% =======================
  1724. *%% Optional Duplex Unit
  1725. *%% =======================
  1726. *Feature: DuplexUnit
  1727. {
  1728.     *FeatureType: PRINTER_PROPERTY
  1729.     *rcNameID: =DUPLEX_UNIT_DISPLAY
  1730.     *DefaultOption: NotInstalled
  1731.     *Option: NotInstalled
  1732.     {
  1733.         *rcNameID: =NOT_INSTALLED_DISPLAY
  1734.         *DisabledFeatures: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  1735.         *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  1736.     }
  1737.  
  1738.     *Option: Installed
  1739.     {
  1740.         *rcNameID: =INSTALLED_DISPLAY
  1741.     }
  1742. }
  1743.  
  1744. *%% =======================
  1745. *%% Optional Hard Disk
  1746. *%% =======================
  1747. *Feature: PrinterHardDisk
  1748. {
  1749.     *rcNameID: =PRINTER_HARDDISK_DISPLAY
  1750.     *FeatureType: PRINTER_PROPERTY
  1751.     *DefaultOption: FALSE
  1752.     *Option: FALSE
  1753.     {
  1754.         *rcNameID: =NOT_INSTALLED_DISPLAY
  1755.         *DisabledFeatures: LIST(Collate)
  1756.     }
  1757.     *Option: TRUE
  1758.     {
  1759.         *rcNameID: =INSTALLED_DISPLAY
  1760.     }
  1761. }
  1762.  
  1763.  
  1764. *%%% ======================
  1765. *%%% Printing attributes
  1766. *%%% ======================
  1767. *RotateCoordinate?: TRUE
  1768. *RotateRaster?: TRUE
  1769. *RotateFont?: TRUE
  1770. *EjectPageWithFF?: FALSE
  1771.  
  1772. *TextCaps: LIST(TC_CR_ANY,TC_CR_90,TC_SF_X_YINDEP,TC_SA_CONTIN,TC_IA_ABLE,TC_UA_ABLE)
  1773. *MemoryUsage: LIST(FONT)
  1774. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  1775. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  1776. *CursorYAfterSendBlockData: AUTO_INCREMENT
  1777. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  1778. *XMoveThreshold: 0
  1779. *YMoveThreshold: 0
  1780. *XMoveUnit: 1200
  1781. *YMoveUnit: 1200
  1782.  
  1783. *%%% *MinGrayFill: 1
  1784. *%%% *MaxGrayFill: 100
  1785.  
  1786. *%%% *OutputDataFormat: H_BYTE
  1787. *%%% *OptimizeLeftBound?: TRUE
  1788.  
  1789. *%%% ======================
  1790. *%%% TrueType fonts
  1791. *%%% ======================
  1792.  
  1793. *Feature: TrueTypeFormat
  1794. {
  1795.     *rcNameID: =TRUETYPE_FORMAT
  1796.     *DefaultOption: OUTLINE
  1797.     *Option: OUTLINE
  1798.     {
  1799.         *rcNameID: =TRUETYPE_OUTLINE
  1800.     }
  1801.     *Option: BITMAP
  1802.     {
  1803.         *rcNameID: =TRUETYPE_BITMAP
  1804.     }
  1805.     *Option: GRAPHICS
  1806.     {
  1807.         *rcNameID: =TRUETYPE_GRAPHICS
  1808.     }
  1809. }
  1810.  
  1811. *switch: TrueTypeFormat
  1812. {
  1813.     *case: OUTLINE
  1814.     {
  1815.         *FontFormat: HPPCL_OUTLINE
  1816.     }
  1817.     *case: BITMAP
  1818.     {
  1819.         *FontFormat: HPPCL
  1820.     }
  1821.     *case: GRAPHICS
  1822.     {
  1823.     }
  1824. }
  1825. *CharPosition: BASELINE
  1826. *TTFSEnabled?: FALSE
  1827. *MinFontID: 1
  1828. *MaxFontID: 65535
  1829. *MinGlyphID: 1
  1830. *MaxGlyphID: 1000
  1831.  
  1832. *%%% ======================
  1833. *%%% Cursor commands
  1834. *%%% ======================
  1835.  
  1836. *Command: CmdCR { *Cmd: "" }
  1837. *Command: CmdLF { *Cmd: "" }
  1838. *Command: CmdFF { *Cmd: "" }
  1839.  
  1840. *%%% SetCursor(0x6b)
  1841. *%%%     Point(76(0x40c)) uint_16
  1842. *%%% SetCursorRel(0x6c)
  1843. *%%%     Point(76(0x40c)) uint_16
  1844. *Command: CmdXMoveAbsolute
  1845. {
  1846.     *Cmd: ""
  1847. }
  1848. *Command: CmdXMoveRelRight
  1849. {
  1850.     *Cmd: ""
  1851.     *Params: LIST(DestXRel, TextXRes)
  1852. }
  1853. *Command: CmdXMoveRelLeft
  1854. {
  1855.     *Cmd: ""
  1856.     *Params: LIST(DestXRel, TextXRes)
  1857. }
  1858. *Command: CmdYMoveAbsolute
  1859. {
  1860.     *Cmd: ""
  1861.     *Params: LIST(DestY, TextYRes)
  1862. }
  1863. *Command: CmdYMoveRelDown
  1864. {
  1865.     *Cmd: ""
  1866.     *Params: LIST(DestYRel, TextYRes)
  1867. }
  1868. *Command: CmdYMoveRelUp
  1869. {
  1870.     *Cmd: ""
  1871.     *Params: LIST(DestYRel, TextYRes)
  1872. }
  1873. *%%% *Command: CmdPushCursor
  1874. *%%% *Command: CmdPopCursor
  1875.  
  1876. *%%% =======================
  1877. *%%% Font commands
  1878. *%%% =======================
  1879.  
  1880. *Command: CmdSetFontID { *Cmd : "" }
  1881. *Command: CmdSelectFontID
  1882. {
  1883.     *Cmd: ""
  1884.     *Params: LIST(FontHeight, CurrentFontID, TextYRes)
  1885. }
  1886.  
  1887. *Command: CmdSetCharCode
  1888. {
  1889.     *Cmd : ""
  1890. }
  1891.  
  1892. *Command: CmdBoldOn
  1893. {
  1894.     *Cmd : ""
  1895. }
  1896. *Command: CmdBoldOff
  1897. {
  1898.     *Cmd : ""
  1899. }
  1900. *%%% *Command: CmdItalicOn: "=real32_xy "<3ea1e4f700000000>" =attr_ubyte =eCharShear =SetCharShear"
  1901. *%%% *Command: CmdItalicOff: "=real32_xy "<0000000000000000>" =attr_ubyte =eCharShear =SetCharShear"
  1902. *%%% *Command: CmdWhiteTextOn:
  1903. *%%% *Command: CmdWhiteTextOff:
  1904. *%%% *Command: CmdSelectSingleByteMode:
  1905. *%%% *Command: CmdSelectDoubleByteMode:
  1906. *Command: CmdSetAnyRotation
  1907. {
  1908.     *Cmd: ""
  1909.     *Params: LIST(PrintDirInCCDegrees)
  1910. }
  1911. *Command: CmdSetSimpleRotation
  1912. {
  1913.     *Cmd: ""
  1914.     *Params: LIST(PrintDirInCCDegrees)
  1915. }
  1916.